QuickOPC User's Guide and Reference
FromDAVtq Method (DAVtqPayload<TValue>)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.ComplexEventProcessing Namespace > DAVtqPayload<TValue> Class : FromDAVtq Method
Data value, timestamp and quality.
Converts OPC-DA data value, timestamp and quality to an event payload.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Shared Function FromDAVtq( _
   ByVal vtq As DAVtq(Of TValue) _
) As DAVtqPayload(Of TValue)
'Usage
 
Dim vtq As DAVtq(Of TValue)
Dim value As DAVtqPayload(Of TValue)
 
value = DAVtqPayload(Of TValue).FromDAVtq(vtq)
[CanBeNull()]
public static DAVtqPayload<TValue> FromDAVtq( 
   DAVtq<TValue> vtq
)
[CanBeNull()]
public:
static DAVtqPayload<TValue^>^ FromDAVtq( 
   DAVtq<TValue^>^ vtq
) 

Parameters

vtq
Data value, timestamp and quality.

Return Value

Returns an event payload containing the OPC-DA data value, timestamp and quality.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also